
package desmontec.alertas
import desmontec.documentos.DPG

class AlertaDPG {
	
	static belongsTo = [dpg: DPG]
	
	TipoAlerta flagTipo 
	String flagAlertar = "S"
	
    static constraints = {
    }
	
	def alertar = {
		return flagAlertar == "S"
	}
	
	def getDescricaoAlerta = {
		return flagTipo.toString()
	}
}
